package com.hqd.ch03.v31.factory;

public interface BeanFactory {
    String FACTORY_BEAN_PREFIX = "&";

    <T> T getBean(String name, Class<T> clazz);

    Object getBean(String name);

    boolean containsBean(String name);

    Class<?> getType(String name);

    <T> T getBean(Class<T> requiredType);

    boolean isPrototype(String targetBeanName);

    boolean isSingleton(String adviceBeanName);

}
